<?php
echo 'Silakan masukkan data POI yang ingin ditambahkan.';
echo br(2);

if (isset($message)) {
    echo $message;
    br(2);
}

echo form_open('poi/add_submit');
echo form_label('Nama');
echo form_input('title', '', 'id="title"');
echo br(1);
echo form_label('Deskripsi');
echo form_input('description', '', 'id="description"');
echo br(1);
echo form_label('Lintang (Latitude)');
echo form_input('latitude', '', 'id="latitude"');
echo br(1);
echo form_label('Bujur (Longitude)');
echo form_input('longitude', '', 'id="longitude"');
echo br(1);
echo form_label('Kategori');
echo form_dropdown('category_id', $categories);
echo br(1);
echo form_submit('submit', 'Submit');
echo form_close();

echo br(2);
echo anchor('/home', 'Home');
echo br(1);
echo anchor('/login/logout', 'Logout');
?>